package com.mashibing.service;

import com.mashibing.internalcommon.dto.ResponseResult;
import com.mashibing.internalcommon.request.ForecastPriceDTO;
import com.mashibing.internalcommon.response.DirectionResponse;

public interface ForecastPriceService {
    /**
     * 根据出发地，目的地估算价格
     * @param forecastPriceDTO
     * @return
     */
    ResponseResult forecastPrice(ForecastPriceDTO forecastPriceDTO);

    /**
     * 计算实际价格
     * @param distance
     * @param duration
     * @param cityCode
     * @param vehicleType
     * @return
     */
    ResponseResult<Double> calculatePrice(Integer distance, Integer duration, String cityCode, String vehicleType);
}
